package  com.api;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

    private static final Main instance = new Main();

    public static void main(String[] args) throws InterruptedException {
        start();
    }

    private static void  start() throws InterruptedException {
        ApplicationContext context = new ClassPathXmlApplicationContext("dubbo-demo-provider.xml");

        synchronized (instance){
            instance. wait();

        }
    }
}
